const  ejs =require('ejs');
ejs.renderFile('./views/2.ejs',{type:'admin',name:'二狗子',json:{arr:[
            {user:'二狗子',pass:'123456'},
            {user:'wang',pass:'1111'}
        ]},},function(err,data){
    console.log(data)
})